<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>修改体育馆</title>
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
  <style>
    body {
      background: linear-gradient(to right, #f6d365, #fda085);
      font-family: Arial, sans-serif;
    }

    .container {
      max-width: 600px;
      margin-top: 50px;
    }

    .card {
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .btn-custom {
      background-color: #fcbf49;
      color: white;
    }

    .btn-custom:hover {
      background-color: #e4a835;
    }
  </style>
</head>

<body>
<div class="container">
  <div class="card">
    <h2 class="text-center mb-4">修改体育馆</h2>
    <form action="/gym/updateGym" method="POST">
      <div class="mb-3">
        <label for="gymName" class="form-label">体育馆名称</label>
        <input type="text" class="form-control" id="gymName" name="gymName" required>
      </div>
      <div class="mb-3">
        <label for="gymLocation" class="form-label">体育馆位置</label>
        <input type="text" class="form-control" id="gymLocation" name="gymLocation" required>
      </div>
      <div class="mb-3">
        <label for="gymDescription" class="form-label">体育馆简介</label>
        <textarea class="form-control" id="gymDescription" name="gymDescription" rows="4" required></textarea>
      </div>
      <button type="submit" class="btn btn-custom w-100">提交</button>
    </form>
  </div>
</div>
</body>

</html>
